#ifndef __CAMERA_H__
#define __CAMERA_H__
#define VIDEO_WIDTH 480
#define VIDEO_HEIGHT 320
#define BUFFER_COUNT 1
#define PICTURE_LENGTH (VIDEO_WIDTH*VIDEO_HEIGHT*2)
#define FPS 30
#define V4L2_MODE_HIGHQUALITY   0x0001  /*  High quality imaging mode */
#define V4L2_MODE_VIDEO             0x0002  /*  Added by raymonxiu For video capture */
#define V4L2_MODE_IMAGE             0x0003  /*  Added by raymonxiu For image capture */
#define V4L2_MODE_PREVIEW           0x0004  /*  Added by raymonxiu For preview capture */
#define V4L2_CAP_TIMEPERFRAME   0x1000  /*  timeperframe field is supported */

#endif

